using System.ComponentModel.DataAnnotations;

namespace AiQiuQuan.Sport.Model.Models
{
    /// <summary>
    /// 新增俱乐部dto
    /// </summary>
    public class ClubAddDto
    {
        /// <summary>
        /// 名称
        /// </summary>
        [Required(AllowEmptyStrings = false, ErrorMessage = "名称必填")]
        [StringLength(100, ErrorMessage = "名称不能超过100个字符")]
        public string Name { get; set; }

        /// <summary>
        /// 场馆ID
        /// </summary>
        [Required(ErrorMessage = "场馆ID必填")]
        public Guid VenueId { get; set; }

        /// <summary>
        /// logoUrl
        /// </summary>
        [Required(AllowEmptyStrings = false, ErrorMessage = "logoUrl必填")]
        [StringLength(200, ErrorMessage = "logoUrl不能超过200个字符")]
        public string Logo { get; set; }

        /// <summary>
        /// 图片
        /// </summary>
        [StringLength(200, ErrorMessage = "图片不能超过200个字符")]
        public string? ImageUrl { get; set; }

        /// <summary>
        /// 介绍
        /// </summary>
        [StringLength(1000, ErrorMessage = "介绍不能超过1000个字符")]
        public string? Introduction { get; set; }

        /// <summary>
        /// 电话
        /// </summary>
        [StringLength(20, ErrorMessage = "电话不能超过20个字符")]
        public string? Phone { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [StringLength(1000, ErrorMessage = "备注不能超过1000个字符")]
        public string? Remark { get; set; }
    }
}
